package com.photovoltaic.auth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.photovoltaic.auth.entity.Permission;

import java.util.List;

public interface PermissionService extends IService<Permission> {
    
    Permission findByCode(String code);
    
    List<Permission> findByType(Integer type);
} 